Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Nov 29, 2024

_imp.create_dynamic() now rejects embedded null characters in the path and in the module name.

Backport also the _PyUnicode_AsUTF8NoNUL() function.

(cherry picked from commit b14fdad)

…on#127400)

_imp.create_dynamic() now rejects embedded null characters in the
path and in the module name.

Backport also the _PyUnicode_AsUTF8NoNUL() function.

(cherry picked from commit b14fdad)
@vstinner vstinner merged commit e7ab978 into python:3.12 Nov 29, 2024
31 checks passed
@vstinner vstinner deleted the imp_create_dynamic12 branch November 29, 2024 16:03
@vstinner
Copy link
Member Author

Merged, thanks for the review @kumaraditya303.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants